package com.fs.sys.bean.resp;

import lombok.Data;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 路由信息
 *
 * @author  LiuQi 2025/6/9-10:45
 * @version V1.0
 **/
@Data
public class Route {
    private String name;
    private String path;
    private String cmp;
    private List<Route> children;
    private Map<String, Object> meta = new HashMap<>(16);

    public void setTitle(String title) {
        meta.put("title", title);
    }
}
